package com.wang.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "地址添加请求对象", description = "地址添加请求对象")
public class AddressAddRequest {


    /**
     * 是否默认收货地址：0->否；1->是
     */
    @JsonProperty ("default_status")
    @ApiModelProperty (value = "是否默认收货地址：0->否；1->是", example = "1")
    private Integer defaultStatus;

    /**
     * 收发货人姓名
     */
    @JsonProperty ("receive_name")
    @ApiModelProperty (value = "收发人姓名", example = "王佑磊")
    private String receiveName;

    /**
     * 收货人电话
     */
    @ApiModelProperty (value = "收货人电话", example = "18370661790")
    private String phone;

    /**
     * 省/直辖市
     */
    @ApiModelProperty (value = "省/直辖市", example = "江西")
    private String province;

    /**
     * 市
     */
    @ApiModelProperty (value = "市", example = "新余")
    private String city;

    /**
     * 区
     */
    @ApiModelProperty (value = "区", example = "渝水区")
    private String region;

    /**
     * 详细地址
     */
    @JsonProperty("detail_address")
    @ApiModelProperty (value = "详细地址", example = "江西工程学院")
    private String detailAddress;
}
